home *** CD-ROM | disk | FTP | other *** search
- class CDragDrop
- {
- public:
- static CDragDrop* NewDragDrop(WindowPtr pWindow);
- void DisposeDragDrop(void);
-
- void EnterWindow(DragReference DragRef, WindowPtr pWindow);
- void LeaveWindow(DragReference DragRef);
- void LeaveHandler(DragReference DragRef) { LeaveWindow(DragRef); }
-
- void Drop(DragReference DragRef);
-
- private:
- Boolean DragOkay;
- Boolean IsOurDrag;
- WindowPtr Window;
- DragTrackingHandlerUPP DragTrackingHandler;
- DragReceiveHandlerUPP DragReceiveHandler;
-
- CDragDrop(void);
- OSErr Initialize(WindowPtr pWindow);
- Boolean DragItemsOkay(DragReference DragRef);
- };
-
-